package com.fitness.fitness.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fitness.fitness.modal.course.dto.CourseDto;
import com.fitness.fitness.modal.course.entity.Course;
import com.fitness.fitness.modal.course.params.CoursePageQueryParams;
import com.fitness.fitness.modal.course.vo.CourseVO;
import com.fitness.fitness.modal.datavisual.entity.CourseTopNVisual;

import java.util.Map;

public interface ICourseService extends IService<Course> {
    Page<CourseVO> getCoursePage(CoursePageQueryParams queryParams);

    boolean addCourse(CourseDto equipmentDto);

    boolean updateCourse(CourseDto equipmentDto);

    Map<Long, Course> getCourseMap();
}
